package com.sdk.es.sdk.entity.common;

import lombok.Data;
import org.springframework.data.annotation.Id;
import org.springframework.data.elasticsearch.annotations.IndexedIndexName;

/**
 * @author wst
 * @date 2024/1/29
 * 基础实体类
 */
@Data
public class EsBaseEntity {
    @Id
    private String id;

    @IndexedIndexName
    private String index;

}
